$ztiColor: #fff; //字体颜色
$headH: 130px; //header的高度

header {
    width: 100%;
    height: $headH;
    font-size: 12px;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    /*头部广告*/
    .top {
        width: 100%;
        height: 90px;
        overflow: hidden;
    }

    /*头部导航*/
    .header_box {
        line-height: 40px;
        background-color: #333;
    }
}

/*头部导航*/
.header_box {
    .wrapper {
        max-width: 1180px;
        margin: 0 auto;
        overflow: hidden;
    }
    nav {
        float: left;
    }
    .user_box {
        float: right;
        div {
            float: left;
        }
    }
    a {
        margin-right: 25px;
        color: $ztiColor;
    }

    //用户名
    .user_box {
        .user_name {
            display: none;
        }
    }
}
/*头部广告*/
.top {
    .top_banner {
        display: block;
        width: 100%;
        height: 90px;
        background: url("https://p4.ssl.qhimg.com/t01b2e6be158095bc0e.webp") no-repeat center;
        overflow: hidden;
    }
    .top_close {
        display: block;
        height: 16px;
        width: 16px;
        background: url(https://p.ssl.qhimg.com/t01aed91886701fb53e.png) no-repeat center;
        position: absolute;
        right: 150px;
        text-align: center;
        top: 10px;
        z-index: 10;
    }
}
